﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CaseDispatchingHistory.aspx.cs" Inherits="CRM.Web.Pop.CaseDispatchingHistory" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" defer="defer"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js" defer="defer"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server">
 <div style="width: 100%">
 
 
<table border="0" cellpadding="0" cellspacing="0" id="tTitle">
    <tr>
	<td class="left">
	    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
	</td>
	<td class="middle">

    <div class="pagetitle">
        <div><asp:Label ID="lblTitle" runat="server" ></asp:Label></div>
    </div>
	
	</td>
	<td class="right">
	    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
	</td>
    </tr>
</table>
    <div class="listdiv">
        <dp:WebGridView ID="gvList" runat="server" CssClass="gridview" AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" AllowPaging="true" 
            AllowSorting="true" PageSize="10"  SortExpressionValue="AUTOID">
            <Columns>
			<asp:BoundField DataField="AUTOID" HeaderText="自增编号"  SortExpression="AUTOID"  Visible="false"  />
			<asp:BoundField DataField="PROCESSINGOBJECTTYPE" HeaderText="处理对象类型"  SortExpression="PROCESSINGOBJECTTYPE" />
			<asp:BoundField DataField="PROCESSINGDEPARTMENTID" HeaderText="处理部门编号"  SortExpression="PROCESSINGDEPARTMENTID"  Visible="false" />
			<asp:BoundField DataField="PROCESSINGDEPARTMENTCODE" HeaderText="处理部门代码"  SortExpression="PROCESSINGDEPARTMENTCODE" />
			<asp:BoundField DataField="PROCESSINGDEPARTMENTNAME" HeaderText="处理部门名称"  SortExpression="PROCESSINGDEPARTMENTNAME" />
			<asp:BoundField DataField="PROCESSINGUSERID" HeaderText="处理人编号"  SortExpression="PROCESSINGUSERID"  Visible="false" />
			<asp:BoundField DataField="PROCESSINGUSERNAME" HeaderText="处理人姓名"  SortExpression="PROCESSINGUSERNAME" />
			<asp:BoundField DataField="PROCESSINGLOGINNAME" HeaderText="处理人登录名"  SortExpression="PROCESSINGLOGINNAME" />
			<asp:BoundField DataField="DISPATCHINGTYPE" HeaderText="派工类型"  SortExpression="DISPATCHINGTYPE" />
			<asp:BoundField DataField="DISPATCHINGTIME" HeaderText="派工时间"  SortExpression="DISPATCHINGTIME" DataFormatString="{0:yyyy-MM-dd HH:mm:ss}" />
			<asp:BoundField DataField="DISPATCHINGPEOPLE" HeaderText="派工人"  SortExpression="DISPATCHINGPEOPLE"  Visible="false" />
			<asp:BoundField DataField="APPROACH" HeaderText="处理方法"  SortExpression="APPROACH" />
			<asp:BoundField DataField="CASEID" HeaderText="工单编号"  SortExpression="CASEID" />
			<asp:BoundField DataField="CASETYPE" HeaderText="工单类型"  SortExpression="CASETYPE" />
			<asp:BoundField DataField="CREATETIME" HeaderText="创建时间"  SortExpression="CREATETIME"  DataFormatString="{0:yyyy-MM-dd}" />
			<asp:BoundField DataField="CREATEPEOPLEID" HeaderText="创建人编号"  SortExpression="CREATEPEOPLEID"  Visible="false" />
			<asp:BoundField DataField="CREATEPEOPLE" HeaderText="创建人"  SortExpression="CREATEPEOPLE" />
			<asp:BoundField DataField="BUSINESSDIVISIONID" HeaderText="事业部编号"  SortExpression="BUSINESSDIVISIONID"  Visible="false" />
			<asp:BoundField DataField="BUSINESSDIVISIONNAME" HeaderText="事业部名称"  SortExpression="BUSINESSDIVISIONNAME"  Visible="false" />
			<asp:BoundField DataField="BUSINESSDIVISIONCODE" HeaderText="事业部代码"  SortExpression="BUSINESSDIVISIONCODE" Visible="false" />
			<asp:TemplateField HeaderText="操作" ShowHeader="False"  Visible="false" >
                <itemtemplate>
                <div style="white-space: nowrap;"><asp:HyperLink id="hlModify" runat="server" NavigateUrl='<%# Eval("AUTOID", ModifyUrl) %>'>详细</asp:HyperLink>
                <asp:LinkButton id="lbtnDelete" runat="server" Text="删除" CommandName="Delete" CausesValidation="False" OnClientClick="return confirm('您确认要删除此条记录吗？');"></asp:LinkButton>            
                </div>
				</itemtemplate>
                <headerstyle width="90px" />
            </asp:TemplateField>
            </Columns>	
            <RowStyle CssClass="row" />
            <AlternatingRowStyle CssClass="row2" />
            <HeaderStyle CssClass="header" />	
            <PagerStyle CssClass="pager" />	
        </dp:WebGridView>
    </div>
</div>




    </form>
</body>
</html>
